package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;
import com.mywork.WorkUIKit;

/**
 * Created by ciko on 2015/12/10.
 */
public class GetCenterMessageListReq extends BaseRequest {

    public GetCenterMessageListReq(long currentPublishTime, Integer length) {
        init();
        put("currentPublishTime", currentPublishTime);
        put("length", length);
        put("userId", WorkUIKit.getUser().getId());
        putCid(currentPublishTime + "" + length+WorkUIKit.getUser().getId());
    }

    @Override
    public String getUrl() {
        return Api.getCenterMessageList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return GetCenterMessageListRes.class;
    }
}
